<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">

    <title>Title</title>


    <style>
   html{
        width: 500px;
        margin:0 auto ;
       background: coral;
   }
   input{
       width: 500px;
       margin:0 auto ;

   }

    </style>
</head>
<body>


<div style="width:500px;float: right;margin:0 auto;" >
    <label for="username" style="font-size:18px" >用户名：</label>
    <div style="height:35px;width:400px;position:relative;display:inline" >
        <input id="username" type="text" style="height:30px;width:350px;padding-right:50px;">
        <span style="position:absolute;right:18px;top:2px;background-image:url(user.ico);height:16px;width:16px;display:inline-block;"></span>
    </div>
    <br/>
    <br/>
    <label for="password1" style="font-size:18px" >&nbsp密码：</label>
    <div style="height:35px;width:400px;position:relative;display:inline" >
        <input id="password1" type="text" style="height:30px;width:350px;padding-right:50px;">
        <span style="position:absolute;right:16px;top:2px;background-image:url(p.ico);height:16px;width:16px;display:inline-block;"></span>
    <br/>
    <br/>
    <label for="verification_code" style="font-size:18px" >验证码：</label>
    <input id="verification_code" type="text" style="height:30px;width:350px;">
    <br/>
        <br/>
    <div style="width:426px;float: right;">
        <input type="submit"  value="登录" style="height:30px;width:50px;background-color:revert;"/>
    </div>
</div>

</body>
</html>